#ifndef __IMAGE_H__
#define __IMAGE_H__

#include "_window.h"

#ifdef	__cplusplus
extern "C" {
#endif

        /* image e a estrutura preenchida em image_create para imagens de qualquer
       formato (png, bmp, jpg, etc.) */

    typedef struct image {
        unsigned int x;
        unsigned int y;
        unsigned int w;
        unsigned int h;
        unsigned int offset_x;
        unsigned int offset_y;
        unsigned int w_visible;
        unsigned int h_visible;
        signed int id;
		unsigned int redraw;
		signed int windowId;
        window *winp;
        unsigned short *bufp;
        unsigned char *alphabufp;
        struct image *next;
        struct image *previous;
        unsigned char visible;
        unsigned char initialized;
    } image;

#ifdef	__cplusplus
}
#endif

#endif
